home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 0091 / hqfax.bat < prev    next >
DOS Batch File  |  1997-03-24  |  2KB  |  75 lines

  1. Echo off
  2. REM *********************************************************************/
  3. REM                                                                     */
  4. REM   SYSTEM       : HQ-FAX                                             */
  5. REM   COPYRIGHT    : (c) 1996 HTF CONSULTING                            */
  6. REM                                                                     */
  7. REM *********************************************************************/
  8. REM                                                                     */
  9. REM   BAT file name: HQFAX.bat                                          */
  10. REM   DESCRIPTION  : Build and execute a user customized conversion     */
  11. REM                  procedure for EPSON to FAX w. View & Send options. */
  12. REM                  This Batch file drives HQ-FAX as a stand-alone App.*/
  13. REM                  Observe how it owns (starts & terminates) BTS.com  */
  14. REM                                                                     */
  15. REM *********************************************************************/
  16. REM
  17. CLS
  18. REM Echo  Build and execute a customized Epson to FAX conversion procedure
  19. REM Echo  Enter BREAK to abort or . . .
  20. REM - Pause
  21. BTS.com
  22. EP2LQFAX.exe /spbts %1 %2
  23. if errorlevel 90 goto Abort
  24. if not errorlevel 20 goto Chek10
  25.  
  26. CLS
  27. ECHO Print Capture is set up.  You have 100 seconds to being printing.
  28. ECHO Ten seconds after the last byte of print data Print Capture will complete.
  29. if not exist FAX2nite.exe goto Do_manl
  30.  
  31. ECHO After 2+ minutes The FAX conversion procedure will start automatically.
  32. PAUSE
  33. FAX2nite.exe
  34. goto Quit
  35.  
  36. :Do_manl
  37. ECHO Non-registered must enter the command 'FAXIT' when Print Capture completes.
  38. PAUSE
  39. goto Quit
  40.  
  41. :CHek10
  42. if not errorlevel 10 goto Doit
  43.  
  44. REM
  45. CLS
  46. Echo === You have requested to review the conversion procedure. Here it is! ===
  47. Echo =======                                                           ========
  48. Echo Review conversion procedure is available only to registered users.
  49. Echo ==========================================================================
  50. Echo Examine the above procedure, Enter Cntl_C to abort or . . .
  51. Pause
  52.  
  53. :Doit
  54. CLS
  55. Echo ====================
  56. Echo Conversion underway!
  57. Echo ====================
  58. FAXit.exe
  59.  
  60. :Quit
  61. CLS
  62. :Abort
  63. if errorlevel 91 goto Abend
  64.  
  65. CLS
  66. if errorlevel 90 Echo End of job - User exit
  67. goto End
  68.  
  69. :Abend
  70. Echo HQ-FAX Abnormal end !
  71. :End
  72. REM C:
  73. REM chdir c:\
  74. Echo on
  75.